package com.mdd.front.service;

import com.mdd.front.validate.shop.ShopProductSearchValidate;
import com.mdd.front.vo.shop.ShopProductDetailVo;
import com.mdd.front.vo.shop.ShopProductListedVo;

import java.util.List;

public interface IShopProductService {
    /**
     * 店铺列表
     *
     * @author DEREK
     * @param searchValidate 搜索参数
     * @return PageResult<ShopListedVo>
     */
    List<ShopProductListedVo> list(ShopProductSearchValidate searchValidate);

    List<ShopProductListedVo> all();
    /**
     * 店铺详情
     *
     * @author DEREK
     * @param id 主键ID
     * @return ShopDetailVo
     */
    ShopProductDetailVo detail(Integer id);


}
